<?php

return [

    // 当前版本
    'api_version' => '1.1.0',
    'api_url' =>'http://testecf.windonwd.com',
    'TY_sign' =>'TY-8da23798c69b7bf706604f25c2c9549ae21593b6bdf4be64', //通用签名
    // 阿里云对象存储OSS配置     --作废
    'oss' => [
        'driver'        => 'oss',
        'access_id'     => env('ACCESS_ID'),
        'access_key'    => env('ACCESS_KEY'),
        'img_url'       => env('IMG_URL'),
        'video_url'     => env('VIDEO_URL'),
        'cdnDomain'     => env('CDN_DOMAIN'),  //
        'endpoint'      => env('ENDPOINT'),
        'bucket'        => env('BUCKET'),
        'city'          => env('CITY'),
        'isCName'       => true,
        'debug'         => true,
    ],
    // 2.1 oss配置文件
    'oss_config' => [
        'driver'            => 'oss',
        'access_key_id'     => env('ACCESS_KEY_ID'),
        'access_key_secret' => env('ACCESS_KEY_SECRET'),
        'role_arn'          => env('ROLE_ARN'),
        'bucket_name'       => env('BUCKET_NAME'),
        'token_expire_time' => env('TOKEN_EXPIRE_TIME'),
        'sts_endpoint' => env('STS_ENDPOINT'),
        'policy_file' => env('POLICY_FILE'),
        'sts_url' => env('STS_URL'),
        'web_config'=>[
            'web_access_id' => env('WEB_ACCESS_ID'),
            'web_access_key' => env('WEB_ACCESS_KEY'),
            'web_bucket_name' => env('WEB_BUCKET_NAME'),
            'web_endpoint' => env('WEB_ENDPOINT'),
        ]
    ],
    /*2.1 oss cdn  加速*/
    'oss_cdn'=>[
        'oss_cdn_enable'=>env('OSS_CDN_ENABLE', false),
        'oss_cdn_url'=>env('OSS_CDN_URL', 'ivytest.i-weiying.com'),
        'oss_cdn_key'=>env('OSS_CDN_KEY', 123456),
        'oss_cdn_expire_time'=>env('OSS_CDN_EXPIRE_TIME', 3600),
    ],
    // facebook 配置
    'fb_config'=>[
        'fb_app_id'=>env('FB_APP_ID'),
        'fb_app_secret'=>env('FB_APP_SECRET'),
        'fb_default_graph_version'=>env('FB_DEFAULT_GRAPH_VERSION'),
        'fb_user_url'=>env('FB_USER_URL'),
        'fb_call_back_url'=>env('FB_CALLBACK_URL'),
    ],
    // 跳转去h5 分享页面
    'share_url'=>env('SHARE_URL'),

    // 中转请求域名
    'transfer_url' => env('TRANSFER_URL'),

    'sensitive_data_filter'  =>'prevent',       //敏感词过滤策略：replace：替换，prevent：拦截

    'ticket_cache_time' =>  21600,  //ticket缓存时间半个月，这里单位为分钟

    'vip_pay_type'	=> [
        'app'	=> [
            ['pay_type'=>'wallet_vcoin','purse'=>'wallet_vcoin','name'=>'V币支付','balance'=>0,'three'=>0],
        ],
        'wap'	=> [
            ['pay_type'=>'wallet_vcoin','purse'=>'wallet_vcoin','name'=>'V币支付','balance'=>0,'three'=>0],
        ],
    ],

    // 信使短信通道
    'xs_sns'=>[
        'xs_sns_sign'=>env('XS_SNS_SIGN'),
        'xs_sns_name'=>env('XS_SNS_NAME'),
        'xs_sns_pwd'=>env('XS_SNS_PWD'),
        'xs_sns_batch_num'=>env('XS_SNS_BATCH_NUM'),
        'xs_sns_debug'=>env('XS_SNS_DEBUG', true),
    ],
    // 环信即时通讯
    'hx_im'=>[
        'hx_im_app_key'=>env('HX_IM_APP_KEY'),
        'hx_im_app_secret'=>env('HX_IM_APP_SECRET'),
        'hx_im_org_name'=>env('HX_IM_ORG_NAME'),
        'hx_im_app_name'=>env('HX_IM_APP_NAME'),
        'hx_im_prefix'=>env('HX_IM_PREFIX'),
        'hx_im_url'=>env('HX_IM_URL'),
    ],
    // 短信监控状态
    'monitoring'=>[
        'monitoring_sms_status'=>env('MONITORING_SMS_STATUS'),
    ]
];